#ifndef _DX_HELPERS
#define _DX_HELPERS


#include <windows.h>
#include <d3d10.h>
#include <d3dx10.h>
#include "vertex.h"
#include "resource.h"


ID3D10Buffer* makeVertexBuffer(ID3D10Device* pd3dDevice, SimpleVertex * vertices, int n);
ID3D10Buffer* makeIndexBuffer(ID3D10Device* pd3dDevice, DWORD * indices, int n);

HRESULT initializeWindow( HINSTANCE hInstance, int nCmdShow, HINSTANCE &g_hInst, HWND &g_hWnd );
LRESULT CALLBACK WndProc( HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam );




#endif